﻿<%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="True" CodeBehind="Move.aspx.cs" MasterPageFile="~/_layouts/application.master" EnableEventValidation="false"  Inherits="BulkListActions.Move, Zieglers.CodePlex.BulkListActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=721782bdb434d058" %>
<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="Zieglers.CodePlex.BulkListActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=721782bdb434d058" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="SPHttpUtility" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.Utilities" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>


<asp:Content ID="PageTitle" runat="server" ContentPlaceHolderID="PlaceHolderPageTitle">
    Move items
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" runat="server" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea">
    Move items
</asp:Content>
<asp:content ID="PagDescription" contentplaceholderid="PlaceHolderPageDescription" runat="server">
	Use this page to move selected items.
</asp:content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

    <!-- Use a ASP.NET Literal Control to display messages -->
	<asp:Literal ID="litMessages" runat="server" />
	
	<!-- Use a ASP.NET Panel Control to show or hide the form from code -->
	<asp:Panel ID="inputForm" runat="server">
	    <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
          <td></td> 
          <td> 
          
          <!-- *****************************************
                 "OK" AND "CANCEL" BUTTONS  
                *****************************************  -->
	        <table border="0" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    
                    <td align="right"> 
                    
	                    <asp:Button UseSubmitBehavior="true" runat="server" 
                            class="ms-ButtonHeightWidth" OnClick="BtnSubmit_Click"  
                            Text="OK" id="btnSave" CausesValidation="true" 
                            accesskey="<%$Resources:wss,okbutton_accesskey%>" Enabled="true"/>
                            
                        <asp:Button UseSubmitBehavior="false" runat="server" 
                                class="ms-ButtonHeightWidth" OnClick="BtnCancel_Click"
                                Text="Cancel" id="btnCancel" 
                                accesskey="<%$Resources:wss,okbutton_accesskey%>" Enabled="true"/>
                                
                        <br /><br />
                    </td>
                </tr>
            </table>
              
            <!-- **********************************************************
                 UI ELEMENT: Metadata Panel
                 USE CASE: Dynamically created controls are added to this panel
                 EVENT: Displays common metadata fields
             -->
            <asp:Panel ID="pnlMetadata" runat="server">
            </asp:Panel>
            
            <!-- **********************************************************
                 UI ELEMENT: Destination Dropdown
                 USE CASE: Displays lists/libraries
                 EVENT: Displays common metadata fields
             -->
            <wssuc:InputFormSection runat="server"
		        Title="Select destination"
		        Description="Select target library where you want to move selected items to." >
        				
                <Template_InputFormControls>
                <tr>
		            <td>
		                <asp:DropDownList ID="ddlDestination" runat="server" CssClass="ms-listheaderlabel" />
		            </td>
		        </tr>	        
                </Template_InputFormControls>
        	        
	        </wssuc:InputFormSection>
	        <!-- *********************************************************** -->

            
	        
	      </td>
	    </tr>
        </table>
    </asp:Panel>
    
</asp:Content>
